package com.zx.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * 角色权限关系实体
 *
 * @author
 * @since 2021-07-19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("sys_role_right")
public class RoleRight implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号，主键
     */
    @TableId(type = IdType.AUTO)
    private Long rfId;

    /**
     * 角色ID
     */
    private Long rfRoleId;

    /**
     * 权限编号
     */
    private String rfRightCode;

}